package org.forwhat.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.forwhat.bean.WhatUser;
import org.forwhat.framework.annotation.Data;

//@Data("WhatTagDao")
@Mapper
public interface  WhatUserDao {
    WhatUser selectUser(@Param("email")String email, @Param("password")String password);
    String getLatestUser();

    String getUserNameById(String userId);

    String selectEmail(String email);
    int addUser(WhatUser whatUser);
}
